package xna.android;

import android.content.res.Resources;
import android.graphics.BitmapFactory;
import br.com.R;

public class Player extends Sprite {

	public Player(Resources res, int texture, int x, int y, SoundManager sm) {
		
		super(BitmapFactory.decodeResource(res, texture), x, y, sm, null);
		this.soundManager.addSound("pistol", R.raw.pistol);
		this.type = ShotType.RED;
	}

	public void update(int windowWidth, int windowHeight) {
		collideOnWall(windowWidth, windowHeight);
		super.update();
	}
	
}
